﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace TableTop.Presentation.Controls
{
    [TemplatePart(Name = tp_CharacterMasterData, Type = typeof(FrameworkElement))]
    [TemplatePart(Name = tp_CharacterPhysical, Type = typeof(FrameworkElement))]
    [TemplatePart(Name = tp_CharacterAbility, Type = typeof(FrameworkElement))]
    public class CharacterSheetReader
        : ContentControl
    {
        private const String tp_CharacterMasterData = "CharacterMasterData";
        private const String tp_CharacterPhysical = "CharacterPhysical";
        private const String tp_CharacterAbility = "CharacterAbility";

        public CharacterSheetReader()
        {
            try
            {
                DefaultStyleKeyProperty.OverrideMetadata(typeof(CharacterSheetReader),
                                                         new FrameworkPropertyMetadata(typeof(CharacterSheetReader)));
            }
            catch
            {
            }
        }

        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();
        }
    }
}
